< previous page page_749 next page >

Page 749
For Me.Print strName, what is displayed?
Answer: Hi There.
In the following code:
9f31265bb40b592b1929e18a47ab28e5.gif
Dim intTemp As Integer
Dim strName As String

intTemp = 5
strName = " Bill" 
Call Proc1(intTemp, ByVal strName)
Me.Print intTemp
Me.Print strName
Sub Proc1(ByVal intParm As Integer, strValue As String)
   intParm = 10
   strValue = " Hi There" 
End Sub
For Me.Print intTemp, what is displayed?
Answer: 5.
For Me.Print strName, what is displayed?
Answer: Hi There.
Chapter 10: Built-in Visual Basic Functions
Whats the function that determines whether one string is contained within another string?
Answer: Instr().
Whats the function that returns the current system date and time?
Answer: Now().
Whats the function that returns only the current system date as a string?
Answer: Date$().
What function allows you to add days, months, quarters, and so on from a date?
Answer: DateAdd().

 
< previous page page_749 next page >

If you like this book, buy it!